package com.qys.livesMall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qys.livesMall.common.result.R;
import com.qys.livesMall.product.entity.H2ProductCategory;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gmx
 * @since 2023-05-17
 */
public interface H2ProductCategoryService extends IService<H2ProductCategory> {
    /**
     * 根据父ID查询子分类
     * @param pid
     * @return
     */
    List<H2ProductCategory> queryByParentId(Long pid);

    R deleteByids(List<H2ProductCategory> h2ShopCategories);

}
